import { useStore } from 'vuex'
import { computed } from 'vue'
export default function useCdEffect () {
  const store = useStore()
  const playing = computed(() => store.state.playing)
  const cdCls = computed(() => playing.value ? 'running' : 'paused')
  return { cdCls }
}
